from components.com_content.models import *
from django.contrib import admin

class JosContentAdmin(admin.ModelAdmin):
    # ...
    list_display = ('id', 'title', 'is_frontpage_content', 'ordering', 'access', 'section', 'category', 'modified_by', 'modified', 'hits')
    list_filter = ('modified_by__name','modified','section__title','category__title',)
    search_fields = ['title'] # can we search by related fields yet?

admin.site.register(JosContent, JosContentAdmin)
